package com.honglang.module.article.service;

import com.honglang.module.article.dao.ArticleDao;
import com.honglang.module.article.entity.Article;


public class ArticleServiceImpl implements ArticleService{
	
	private ArticleDao articleDao;

	
	
	/**
	 * Save the Article
	 * @param article
	 * @return
	 */
	public Article save(Article article){
		return this.articleDao.merge(article);
	}
	
	
	
	
	public ArticleDao getArticleDao() {
		return articleDao;
	}

	public void setArticleDao(ArticleDao articleDao) {
		this.articleDao = articleDao;
	}




	
	
}
